import request from "../../request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type Users } from "../../interface";

/**
 * 保存或更新 Users 信息
 * /users
 */
export function postUsers(input: Users, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<boolean>>(`/users`, input, config);
}
